﻿using System;
using System.Collections.Generic;

namespace SharpSqlAnalyzer.nodes.hive
{
	// Token: 0x02000410 RID: 1040
	public class THiveGrantSqlNode : TParseTreeNode
	{
		// Token: 0x17000928 RID: 2344
		// (get) Token: 0x0600284C RID: 10316 RVA: 0x0033C71E File Offset: 0x0033A91E
		// (set) Token: 0x0600284D RID: 10317 RVA: 0x0033C726 File Offset: 0x0033A926
		public virtual bool Revoke
		{
			get
			{
				return this.revoke;
			}
			set
			{
				this.revoke = value;
			}
		}

		// Token: 0x17000929 RID: 2345
		// (get) Token: 0x0600284F RID: 10319 RVA: 0x0033C738 File Offset: 0x0033A938
		// (set) Token: 0x0600284E RID: 10318 RVA: 0x0033C72F File Offset: 0x0033A92F
		public virtual bool WithOption
		{
			get
			{
				return this.withOption;
			}
			set
			{
				this.withOption = value;
			}
		}

		// Token: 0x06002850 RID: 10320 RVA: 0x0033C740 File Offset: 0x0033A940
		public override void init(object arg1, object arg2)
		{
			this.privilegeList = (List<THivePrivilegeDef>)arg1;
			this.principals = (List<THivePrincipalName>)arg2;
		}

		// Token: 0x06002851 RID: 10321 RVA: 0x0033C75A File Offset: 0x0033A95A
		public override void init(object arg1, object arg2, object arg3)
		{
			this.init(arg1, arg2);
			this.tableToken = (TSourceToken)arg3;
		}

		// Token: 0x1700092A RID: 2346
		// (get) Token: 0x06002852 RID: 10322 RVA: 0x0033C770 File Offset: 0x0033A970
		public virtual List<THivePrincipalName> Principals
		{
			get
			{
				return this.principals;
			}
		}

		// Token: 0x1700092B RID: 2347
		// (get) Token: 0x06002853 RID: 10323 RVA: 0x0033C778 File Offset: 0x0033A978
		public virtual List<THivePrivilegeDef> PrivilegeList
		{
			get
			{
				return this.privilegeList;
			}
		}

		// Token: 0x1700092C RID: 2348
		// (get) Token: 0x06002854 RID: 10324 RVA: 0x0033C780 File Offset: 0x0033A980
		public virtual TFromTable FromTable
		{
			get
			{
				return this.fromTable;
			}
		}

		// Token: 0x1700092D RID: 2349
		// (get) Token: 0x06002855 RID: 10325 RVA: 0x0033C788 File Offset: 0x0033A988
		public virtual TSourceToken TableToken
		{
			get
			{
				return this.tableToken;
			}
		}

		// Token: 0x06002856 RID: 10326 RVA: 0x0033C790 File Offset: 0x0033A990
		public override void init(object arg1, object arg2, object arg3, object arg4)
		{
			this.init(arg1, arg2, arg3);
			this.fromTable = (TFromTable)arg4;
		}

		// Token: 0x04001E46 RID: 7750
		private List<THivePrincipalName> principals;

		// Token: 0x04001E47 RID: 7751
		private List<THivePrivilegeDef> privilegeList;

		// Token: 0x04001E48 RID: 7752
		private bool withOption;

		// Token: 0x04001E49 RID: 7753
		private TFromTable fromTable;

		// Token: 0x04001E4A RID: 7754
		private bool revoke;

		// Token: 0x04001E4B RID: 7755
		private TSourceToken tableToken;
	}
}
